#include "FITKCDCfgPSetSwitch.h"

using namespace Interface;

void FITKCDCfgPSetSwitch::setPressure_Threshold(bool bVal)
{
	setValue("Pressure_Threshold", bVal);
}
void FITKCDCfgPSetSwitch::setMinimum_Pressure(double dVal)
{
	setValue("Minimum_Pressure", dVal);
}
void FITKCDCfgPSetSwitch::setDensity_Reinitial(bool bVal)
{
	setValue("Density_Reinitial", bVal);
}
void FITKCDCfgPSetSwitch::setReinitial_Steps(int nVal)
{
	setValue("Reinitial_Steps", nVal);
}
void FITKCDCfgPSetSwitch::setTic(bool bVal)
{
	setValue("Tic", bVal);
}
void FITKCDCfgPSetSwitch::setResort_Fluid(bool bVal)
{
	setValue("Resort_Fluid", bVal);
}
void FITKCDCfgPSetSwitch::setSlip(bool bVal)
{
	setValue("Slip", bVal);
}
void FITKCDCfgPSetSwitch::setLJ_Force(bool bVal)
{
	setValue("LJ_Force", bVal);
}
void FITKCDCfgPSetSwitch::setLJ_Param(double dVal)
{
	setValue("LJ_Param", dVal);
}
void FITKCDCfgPSetSwitch::setPST(bool bVal)
{
	setValue("PST", bVal);
}


bool FITKCDCfgPSetSwitch::getPressure_Threshold()
{
	return getValue("Pressure_Threshold").toBool();
}
double FITKCDCfgPSetSwitch::getMinimum_Pressure()
{
	return getValue("Minimum_Pressure").toDouble();
}
bool FITKCDCfgPSetSwitch::getDensity_Reinitial()
{
	return getValue("Density_Reinitial").toBool();
}
int FITKCDCfgPSetSwitch::getReinitial_Steps()
{
	return getValue("Reinitial_Steps").toInt();
}
bool FITKCDCfgPSetSwitch::getTic()
{
	return getValue("Tic").toBool();
}
bool FITKCDCfgPSetSwitch::getResort_Fluid()
{
	return getValue("Resort_Fluid").toBool();
}
bool FITKCDCfgPSetSwitch::getSlip()
{
	return getValue("Slip").toBool();
}
bool FITKCDCfgPSetSwitch::getLJ_Force()
{
	return getValue("LJ_Force").toBool();
}
double FITKCDCfgPSetSwitch::getLJ_Param()
{
	return getValue("LJ_Param").toDouble();
}
bool FITKCDCfgPSetSwitch::getPST()
{
	return getValue("PST").toBool();
}
